import request from '@/utils/request'

// 查询库存盘点单列表
export function listTblTakeStockSheet(query) {
  return request({
    url: '/system/TblTakeStockSheet/list',
    method: 'get',
    params: query
  })
}

// 查询库存盘点单详细
export function getTblTakeStockSheet(id) {
  return request({
    url: '/system/TblTakeStockSheet/' + id,
    method: 'get'
  })
}

// 新增库存盘点单
export function addTblTakeStockSheet(data) {
  return request({
    url: '/system/TblTakeStockSheet',
    method: 'post',
    data: data
  })
}

// 修改库存盘点单
export function updateTblTakeStockSheet(data) {
  return request({
    url: '/system/TblTakeStockSheet',
    method: 'put',
    data: data
  })
}

// 删除库存盘点单
export function delTblTakeStockSheet(id) {
  return request({
    url: '/system/TblTakeStockSheet/' + id,
    method: 'delete'
  })
}
